<f:view xmlns="http://www.w3.org/1999/xhtml" 
    xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:af="http://myfaces.apache.org/trinidad"
	xmlns:afh="http://myfaces.apache.org/trinidad/html"
    xmlns:ppc="http://www.sungard.de/carnot/web/portal-plugin/common">
    
	<f:loadBundle basename="ProcessPortalMessages" var="localeBundle" />
    <f:loadBundle basename="CommonMessages" var="commonMsg" />
	<af:document id="processPortal" title="#{localeBundle.carnotTitle}">
        <afh:script source="util.js" type="text/javascript"/>
		<af:form id="processPortalForm" 
            usesUpload="#{portalHeader.processPortalSession.activityPanelVisible and pageFlowScope.carnotActivityUsesUpload ? true : false}">
            
            <ui:include src="/carnot/include/common/bpm-web-ui-events.xhtml" />
            
			<af:panelGroupLayout layout="vertical">

               <ui:include src="#{procPortal_header}" />

               <ui:include src="#{procPortal_appMenu}" />

               <div class="infinityClear"/>
                
				<af:panelPage
					partialTriggers=":taskTable:refreshTrigger :bpmEvents:refreshEvent:full :bpmEvents:refreshEvent:workarea">

					<f:facet name="navigation3">

                        <ui:include src="#{procPortal_leftMenu}" />
						
					</f:facet>

					<f:facet name="appCopyright">
               
                        <ui:include src="#{procPortal_copyright}" />
               
					</f:facet>
					
					<ui:include src="#{procPortal_workarea}" />
					
				</af:panelPage>
			</af:panelGroupLayout>
		</af:form>
	</af:document>

</f:view>
